<?php //debug($this->data); ?>
<div class="pendapatan form">
<?php echo $this->Form->create('Payroll');?>
	<fieldset>
		<legend><?php __('Edit Pendapatan'); ?></legend>
	<?php
		echo $this->Form->input('Pendapatan.id');
                echo "<h3>".$this->data['Karyawan']['nama']."</h3>";
		echo $this->Form->input('Pendapatan.karyawan_id',array('type' => 'hidden', 'value' => $this->data['Karyawan']['id']));
		echo $this->Form->input('Pendapatan.gaji_pokok');
		echo $this->Form->input('Pendapatan.uang_makan');
		echo $this->Form->input('Pendapatan.uang_transport');
		echo $this->Form->input('Pendapatan.premi_hadir');
		echo $this->Form->input('Pendapatan.imk');
		echo $this->Form->input('Pendapatan.uang_shift');
		echo $this->Form->input('Pendapatan.uang_jabatan');
		echo $this->Form->input('Pendapatan.tunjangan_skill');
		echo $this->Form->input('Pendapatan.tunjangan_kesehatan');
		echo $this->Form->input('Pendapatan.tunjangan_insentif');
		echo $this->Form->input('Pendapatan.uang_cuti');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>